package com.lzx.article.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.lzx.article.entity.GiveALike;
import com.lzx.common.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzx
 * @since 2023-01-11
 */
public interface GiveALikeService extends IService<GiveALike> {

    //点赞功能
    R saveUserGiveALike(GiveALike giveALike);

    //查询当前用户的点赞记录
    R getUserGiveALikeList(int userId);
}
